package org.jeecg.modules.wlhy.hytaxsalesinvoice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: hy_tax_salesinvoice
 * @Author: duanlikao
 * @Date:   2021-11-22
 * @Version: V1.0
 */
@Data
@TableName("hy_tax_salesinvoice")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_tax_salesinvoice对象", description="hy_tax_salesinvoice")
public class HyTaxSalesinvoice implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**发票uuid唯一识别号*/
	@Excel(name = "发票uuid唯一识别号", width = 15)
    @ApiModelProperty(value = "发票uuid唯一识别号")
    private java.lang.String fpId;
	/**货主名称*/
	@Excel(name = "货主名称", width = 15)
    @ApiModelProperty(value = "货主名称")
    private java.lang.String gfmc;
	/**货主统一社会信用代码*/
	@Excel(name = "货主统一社会信用代码", width = 15)
    @ApiModelProperty(value = "货主统一社会信用代码")
    private java.lang.String gfsh;
	/**价税合计 */
	@Excel(name = "价税合计 ", width = 15)
    @ApiModelProperty(value = "价税合计 ")
    private java.math.BigDecimal jshjxx;
	/**明细主键发票明细主键一个F_ID对应多个货物明细 */
	@Excel(name = "明细主键发票明细主键一个F_ID对应多个货物明细 ", width = 15)
    @ApiModelProperty(value = "明细主键发票明细主键一个F_ID对应多个货物明细 ")
    private java.lang.String mxId;
	/**货物名称*/
	@Excel(name = "货物名称", width = 15)
    @ApiModelProperty(value = "货物名称")
    private java.lang.String hwmc;
	/**发票代码*/
	@Excel(name = "发票代码", width = 15)
    @ApiModelProperty(value = "发票代码")
    private java.lang.String fpdm;
	/**发票号码*/
	@Excel(name = "发票号码", width = 15)
    @ApiModelProperty(value = "发票号码")
    private java.lang.String fphm;
	/**开票日期*/
	@Excel(name = "开票日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开票日期")
    private java.util.Date kpsj;
	/**订单uuid*/
	@Excel(name = "订单uuid", width = 15)
    @ApiModelProperty(value = "订单uuid")
    private java.lang.String dduuid;
	/**发票类型 增值税专用发票 1 普通 发票为 2 */
	@Excel(name = "发票类型 增值税专用发票 1 普通 发票为 2 ", width = 15)
    @ApiModelProperty(value = "发票类型 增值税专用发票 1 普通 发票为 2 ")
    private java.lang.String fplxId;
	/**发票所属月份*/
	@Excel(name = "发票所属月份", width = 15)
    @ApiModelProperty(value = "发票所属月份")
    private java.lang.String fpssyf;
	/**是 有效标 志 有效：Y（默 认）作废：N*/
	@Excel(name = "是 有效标 志 有效：Y（默 认）作废：N", width = 15)
    @ApiModelProperty(value = "是 有效标 志 有效：Y（默 认）作废：N")
    private java.lang.String yxbz;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**上报状态(0未上传 1上传成功 2上传失败)*/
	@Excel(name = "上报状态(0未上传 1上传成功 2上传失败)", width = 15)
    @ApiModelProperty(value = "上报状态(0未上传 1上传成功 2上传失败)")
    @Dict(dicCode = "upload_status")
    private java.lang.String uploadStatus;
	/**上报时间*/
//	@Excel(name = "上报时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "上报时间")
    private java.util.Date uploadDate;
	/**删除状态(0-正常,1-已删除)*/
//	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    @TableLogic
    private java.lang.String delFlag;
}
